package top.buyibuyi.course.service.admin.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.buyibuyi.course.dao.admin.SaveAdminDao;
import top.buyibuyi.course.pojo.Admin;
import top.buyibuyi.course.service.admin.SaveAdminService;

@Service
public class SaveAdminServiceImpl implements SaveAdminService {

    @Autowired
    private SaveAdminDao saveAdminDao;
    @Override
    public Boolean saveAdmin(Admin admin) {
        return saveAdminDao.saveAdmin(admin);
    }
}
